package com.xmx.productcenter.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xmx.productcenter.entity.GoodsEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 商品基本信息表
 *
 * @author fbb
 * @email boyinbing@126.com
 * @date 2021-08-11 01:24:55
 */
@Mapper
@Repository
public interface GoodsDao extends BaseMapper<GoodsEntity> {

     IPage<GoodsEntity> related(Page<GoodsEntity> page, @Param("id") Integer id);
}
